package com.lc.question.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
import java.util.Map;

@ApiModel("问卷问题实体类")
public class MyQuestion {

    @ApiModelProperty("问卷")
    QuestionNaire questionNaire;
    @ApiModelProperty("问卷包括的问题")
    List<Question> questions;//问题
    @ApiModelProperty("每个问题包含的选项内容")
    Map<String,String[]> question_contents;//问题选项

    public MyQuestion() {
    }

    public MyQuestion(QuestionNaire questionNaire, List<Question> questions, Map<String, String[]> question_contents) {
        this.questionNaire = questionNaire;
        this.questions = questions;
        this.question_contents = question_contents;
    }

    public QuestionNaire getQuestionNaire() {
        return questionNaire;
    }

    public void setQuestionNaire(QuestionNaire questionNaire) {
        this.questionNaire = questionNaire;
    }

    public List<Question>  getQuestions() {
        return questions;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }

    public Map<String, String[]> getQuestion_contents() {
        return question_contents;
    }

    public void setQuestion_contents(Map<String, String[]> question_contents) {
        this.question_contents = question_contents;
    }
}
